import fly from "../utils/request"
// 获取验证码
export const user = mobile =>{
  return fly.get("/app/v1_0/sms/codes/:mobile",{
    params: {
      mobile
    }
  })
}

//获取自己信息
export const userId = () =>{
  return fly.get("/user")
}